package com.feng.ALittleFlower;

public class Comment {
    private String username;
    private int rate;
    private String content;

    public Comment(String name, int r, String c) {
        username = name;
        rate = r;
        content = c;
    }

    public String getUsername() {
        return username;
    }

    public int getRate() {
        return rate;
    }

    public String getContent() {
        return content;
    }

    @Override
    public String toString() {
        return "Comment{" +
                "username='" + username + '\'' +
                ", rate=" + rate +
                ", content='" + content + '\'' +
                '}';
    }
}